﻿using System;

namespace Missbot.Core.Scheduler
{
    /// <summary>
    /// 定时器定时间隔接口
    /// </summary>
    public interface IScheduleSpan
    {
        /// <summary>
        /// 获取下一次触发的时间间隔
        /// </summary>
        /// <returns></returns>
        TimeSpan GetNextTriggerSpan();
    }
}